package com.xinyue.dz.dao;

import com.xinyue.dz.bean.User;
import java.util.List;
import com.xinyue.dz.bean.Organization;

public interface UserDao {
	//默认方法
	public void save(User entity);
	public Integer deleteById(int userId);
	public void update(User entity);
	public void saveOrUpdate(User entity);
	public User queryById(int userId);
	public List<User> queryAll(int begin, int count);
	public Long queryCount();
	
	//find方法
	public Organization queryOrganizationByOrgId(int orgId);
}